package com.base.po.voip;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;

import com.base.comm.CommUrls;

/**
 * 代理商
 *
 * @author Administrator
 */
public class Users {
    private String id;// id

    private String username; // 昵称

    private String password; // 密码

    private String email;// 邮箱

    private Date createtime;// 注册时间

    private Date logintime;// 最后登录时间

    private String loginip;// 登陆ip

    private Integer role;// 权限0管理员1代理商2商家3开发者4用户5财务账号6客服

    private Boolean datastatus;// 数据状态

    private String jhappid;// 久话APPID

    private String jhappkey;// 久话APP密码

    private String mobile;// 手机号

    private BigDecimal blance;// 当前余额

    private String money;// 当前余额 String

    private BigDecimal balance;// 开卡在线支付面额/余额

    private String freeroute;// 费率

    private String parentid;// 代理商id

    private String agentlogo;// 代理商logo

    private String prefix;// 代理商前缀

    private String theme;// 是否查看财务信息

    private Boolean addcard;// 是否允许开卡

    private Boolean nextagent;// 是否允许开设下级代理

    private Byte airrecharge;// 是否允许空中充值

    private String androidversion;// 安卓版本号

    private String androidpath;// 安卓下载地址

    private String iosversion;// 苹果版本号

    private String iospath;// 苹果更新地址

    private Integer regimoney;// 注册赠送话费

    private Integer regishopmoney;// 注册赠送购物金

    private Integer regitime;// 注册赠送有效期

    private Date endtime;// 账户过期时间

    private String pic;// 用户头像 //代理商头像

    private BigDecimal dkbl;// 商城抵扣比例

    private Boolean isshop; // 商户是否开通商城

    private Integer type;// 账户充值类型

    private String shopid;// 用户广告商id

    private String adid;// 代理商阿里妈妈广告id

    private BigDecimal profitratio;// 代理商分润比例

    private String appkey;// 阿里妈妈appkey

    private String appsecret;// 阿里妈妈appsecret

    private BigDecimal linebalance;// 线路余额

    private String pid;// 阿里妈妈推广位id

    private String invitecode;// 阿里妈妈邀请码

    private String reactxappkey;// 街兔api_key

    private Integer tbapitype;// 淘宝接口类型 1阿里妈妈 2街兔

    private String clientid;// 拼多多client_id

    private String clientsecret;// 拼多多client_secret

    private String clientpid;// 拼多多p_id

    private String dappkey;// 大淘客appkey

    private String sqappkey;// 转链key

    private Integer overdraft;// 透支金额

    private String appstore;// appstore是否显示

    private String appid;// 阿里支付appid

    private String keypath;// 开发者私钥

    private String alipubkey;// 支付宝公钥

    private String wxappid;// 微信appid

    private String wxmchid;// 微信商户id

    private String wxapikey;// 微信密钥

    private String unionmchid;// 银联商户id

    private String acpsign; // 银联签名证书

    private String acpenc; // 银联密码加密证书

    private String acpmiddle; // 银联根证书

    private String acproot; // 银联根证书

    private String lianlianmchid;// 连连商户id

    private String linaliankey;// 连连私钥

    private String jpushappkey;// 极光appkey

    private String mastersecret;// 极光mastersecret

    private Integer igtype;// 提现类型

    private String agentprefix;// 代理商前缀

    private String oneagent;// 顶级代理

    private Boolean sxxh;// 双透

    private Boolean isauth;// 认证状态

    private Boolean isalipay;// 线上支付

    private Boolean isprofit;// 淘宝返利

    private Boolean isaliprofit;// 线上支付返利

    private BigDecimal aliprofitratio;// 代理商分润比例

    private BigDecimal aliprofitmoney;// 代理商分润比例

    private BigDecimal profitmoney;// 代理商分润金额

    private Integer shopblance;// 空冲购物余额

    private Integer calltype;// 线路商1久话2魅逸

    private Integer smstype;// 短信商

    private Integer shopnum;// 下级代理商数量

    private Integer subnum;// 用户数量

    private BigDecimal fare; // 商圈动态扣费

    private Integer callmeshare; // 一级分享者赠送通话金额

    private Integer callparshare; // 被分享者赠送通话金额

    private Integer shopmeshare; // 一级分享者赠送购物金额

    private Integer shopparshare; // 被分享者赠送购物金额

    private Integer callshareper; // 二级分享者赠送通话金额

    private Integer shopshareper; // 二级分享者赠送购物金额

    private BigDecimal weekcall; // 签到赠送通话金额

    private BigDecimal weekshop; // 签到赠送购物金额

    private BigDecimal weekmucall; // 连续签到赠送通话倍数

    private BigDecimal weekmushop; // 连续签到赠送购物倍数

    private String weekadv; // 签到跳转广告

    private String rule; // 签到活动页规则

    private Double reratio1; // 一级充值分润

    private Double reratio2; // 二级充值分润

    private Double reratio3; // 三级充值分润

    private Double teamreratio; // 总团体特权

    private Byte isgrounding; // 上架设置

    //TODO 新加的
    private Byte ismember; // 是否开启会员制

    private String firstclass; // 基本会员名

    private String firstrule; // 会员规则（基本会员）

    private Double rebateratio; // 淘宝客给用户的分润比例（基本会员一级）

    private Double rebateratio2; // 淘宝客给用户的分润比例（基本会员二级）

    private Double rebateratio3; // 淘宝客给用户的分润比例（基本会员三级）

    private String secondclass; // 自定义会员名

    private String secondrule; // 会员规则（自定义会员）

    private Integer upgrade2; // 升级所需人数（升至自定义会员）

    private Double rebate2ratio; // 淘宝客给用户的分润比例（自定义会员一级）

    private Double rebate2ratio2; // 淘宝客给用户的分润比例（自定义会员二级）

    private Double group2ratio; // 团队收益 (自定义会员)

    private String superrule; // 会员规则（超级会员）

    private Integer upsuper; // 超级会员升级金额

    private Double superratio; // 淘宝客给用户的分润比例（超级会员）

    private Double shopratio; // 商家提现分润比例

    private String myqappkey; // 喵有券API

    private String tbonepid; // 淘宝一段PID

    private String tbname; // 淘宝会员名称

    private String colour1; // 颜色1

    private String colour2; // 颜色2

    private Byte isupdateshop;// 是否充值变更商家

    private Byte ispush;// 是否允许推送

    private Byte isrebatepush;// 是否允许佣金推送

    private Byte isregisterpush;// 是否允许注册推送

    private Byte isrechargepush;// 是否允许充值推送

    private Byte issuper;// 是否开始超级会员

    private String materialid;// 物料id

    // 设置对话框
    private Byte isdialogbox;// 是否允许对话框

    private String dialogboxid;// 对话框文字id

    // 薪管家大转盘
    private Double dialfirst; // 大转盘第一块中奖几率

    private Double dialsecond; // 大转盘第二块中奖几率

    private Double dialthird; // 大转盘第三块中奖几率

    private Double dialfourth; // 大转盘第四块中奖几率

    private Double dialfifth; // 大转盘第五块中奖几率

    private Double dialsixth; // 大转盘第六块中奖几率

    // 浏览控制
    private Integer browse; // 增加浏览数

    // 自建商城抵扣
    private Integer deducttype;// 自建商城扣款 1话费抵扣 2购物金抵扣 3先购物金再话费

    private Double selfshopratio;// 自建商城分佣比率

    private Map<String, Object> Info;

    private String totalMoney;//总业绩 jsp页面使用

    private String selfOrderTotalShopId;//总业绩商家id jsp页面使用

    public String getSelfOrderTotalShopId() {
        return selfOrderTotalShopId;
    }

    public void setSelfOrderTotalShopId(String selfOrderTotalShopId) {
        this.selfOrderTotalShopId = selfOrderTotalShopId;
    }

    public String getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(String totalMoney) {
        this.totalMoney = totalMoney;
    }

    public Map<String, Object> getInfo() {
        return Info;
    }

    public void setInfo(Map<String, Object> info) {
        Info = info;
    }

    public Integer getBrowse() {
        return browse;
    }

    public void setBrowse(Integer browse) {
        this.browse = browse;
    }

    public Integer getDeducttype() {
        return deducttype;
    }

    public void setDeducttype(Integer deducttype) {
        this.deducttype = deducttype;
    }

    public String getMaterialid() {
        return materialid;
    }

    public void setMaterialid(String materialid) {
        this.materialid = materialid;
    }

    public Byte getIspush() {
        return ispush;
    }

    public void setIspush(Byte ispush) {
        this.ispush = ispush;
    }

    public Byte getIsrebatepush() {
        return isrebatepush;
    }

    public void setIsrebatepush(Byte isrebatepush) {
        this.isrebatepush = isrebatepush;
    }

    public Byte getIsregisterpush() {
        return isregisterpush;
    }

    public void setIsregisterpush(Byte isregisterpush) {
        this.isregisterpush = isregisterpush;
    }

    public Byte getIsrechargepush() {
        return isrechargepush;
    }

    public void setIsrechargepush(Byte isrechargepush) {
        this.isrechargepush = isrechargepush;
    }

    public Byte getIssuper() {
        return issuper;
    }

    public void setIssuper(Byte issuper) {
        this.issuper = issuper;
    }

    public Byte getIsupdateshop() {
        return isupdateshop;
    }

    public void setIsupdateshop(Byte isupdateshop) {
        this.isupdateshop = isupdateshop;
    }

    public Byte getIsdialogbox() {
        return isdialogbox;
    }

    public void setIsdialogbox(Byte isdialogbox) {
        this.isdialogbox = isdialogbox;
    }

    public String getDialogboxid() {
        return dialogboxid;
    }

    public void setDialogboxid(String dialogboxid) {
        this.dialogboxid = dialogboxid;
    }

    public String getColour1() {
        return colour1;
    }

    public void setColour1(String colour1) {
        this.colour1 = colour1;
    }

    public String getColour2() {
        return colour2;
    }

    public void setColour2(String colour2) {
        this.colour2 = colour2;
    }

    public Byte getIsmember() {
        return ismember;
    }

    public void setIsmember(Byte ismember) {
        this.ismember = ismember;
    }

    public String getFirstclass() {
        return firstclass;
    }

    public void setFirstclass(String firstclass) {
        this.firstclass = firstclass;
    }

    public String getFirstrule() {
        return firstrule;
    }

    public void setFirstrule(String firstrule) {
        this.firstrule = firstrule;
    }

    public void setRebateratio(Double rebateratio) {
        this.rebateratio = rebateratio;
    }

    public void setRebateratio2(Double rebateratio2) {
        this.rebateratio2 = rebateratio2;
    }

    public Double getRebateratio3() {
        return rebateratio3;
    }

    public void setRebateratio3(Double rebateratio3) {
        this.rebateratio3 = rebateratio3;
    }

    public String getSecondclass() {
        return secondclass;
    }

    public void setSecondclass(String secondclass) {
        this.secondclass = secondclass;
    }

    public String getSecondrule() {
        return secondrule;
    }

    public void setSecondrule(String secondrule) {
        this.secondrule = secondrule;
    }

    public Integer getUpgrade2() {
        return upgrade2;
    }

    public void setUpgrade2(Integer upgrade2) {
        this.upgrade2 = upgrade2;
    }

    public Double getRebate2ratio() {
        return rebate2ratio;
    }

    public void setRebate2ratio(Double rebate2ratio) {
        this.rebate2ratio = rebate2ratio;
    }

    public Double getRebate2ratio2() {
        return rebate2ratio2;
    }

    public void setRebate2ratio2(Double rebate2ratio2) {
        this.rebate2ratio2 = rebate2ratio2;
    }

    public Double getGroup2ratio() {
        return group2ratio;
    }

    public void setGroup2ratio(Double group2ratio) {
        this.group2ratio = group2ratio;
    }

    public String getSuperrule() {
        return superrule;
    }

    public void setSuperrule(String superrule) {
        this.superrule = superrule;
    }

    public Integer getUpsuper() {
        return upsuper;
    }

    public void setUpsuper(Integer upsuper) {
        this.upsuper = upsuper;
    }

    public Double getSuperratio() {
        return superratio;
    }

    public void setSuperratio(Double superratio) {
        this.superratio = superratio;
    }

    public void setShopratio(Double shopratio) {
        this.shopratio = shopratio;
    }

    public String getMyqappkey() {
        return myqappkey;
    }

    public void setMyqappkey(String myqappkey) {
        this.myqappkey = myqappkey;
    }

    public String getTbonepid() {
        return tbonepid;
    }

    public void setTbonepid(String tbonepid) {
        this.tbonepid = tbonepid;
    }

    public String getTbname() {
        return tbname;
    }

    public void setTbname(String tbname) {
        this.tbname = tbname;
    }

    public Double getShopratio() {
        return shopratio;
    }

    public void setShopratio(double shopratio) {
        this.shopratio = shopratio;
    }

    public Double getRebateratio2() {
        return rebateratio2;
    }

    public void setRebateratio2(double rebateratio2) {
        this.rebateratio2 = rebateratio2;
    }

    public Double getRebateratio() {
        return rebateratio;
    }

    public void setRebateratio(double rebateratio) {
        this.rebateratio = rebateratio;
    }

    public Double getDialfirst() {
        return dialfirst;
    }

    public void setDialfirst(Double dialfirst) {
        this.dialfirst = dialfirst;
    }

    public Double getDialsecond() {
        return dialsecond;
    }

    public void setDialsecond(Double dialsecond) {
        this.dialsecond = dialsecond;
    }

    public Double getDialthird() {
        return dialthird;
    }

    public void setDialthird(Double dialthird) {
        this.dialthird = dialthird;
    }

    public Double getDialfourth() {
        return dialfourth;
    }

    public void setDialfourth(Double dialfourth) {
        this.dialfourth = dialfourth;
    }

    public Double getDialfifth() {
        return dialfifth;
    }

    public void setDialfifth(Double dialfifth) {
        this.dialfifth = dialfifth;
    }

    public Double getDialsixth() {
        return dialsixth;
    }

    public void setDialsixth(Double dialsixth) {
        this.dialsixth = dialsixth;
    }

    public Integer getSubnum() {
        return subnum;
    }

    public void setSubnum(Integer subnum) {
        this.subnum = subnum;
    }

    public String getWxappid() {
        return wxappid;
    }

    public void setWxappid(String wxappid) {
        this.wxappid = wxappid;
    }

    public String getWxmchid() {
        return wxmchid;
    }

    public void setWxmchid(String wxmchid) {
        this.wxmchid = wxmchid;
    }

    public String getWxapikey() {
        return wxapikey;
    }

    public void setWxapikey(String wxapikey) {
        this.wxapikey = wxapikey;
    }

    public String getUnionmchid() {
        return unionmchid;
    }

    public void setUnionmchid(String unionmchid) {
        this.unionmchid = unionmchid;
    }

    public String getAcpsign() {
        return acpsign;
    }

    public void setAcpsign(String acpsign) {
        this.acpsign = acpsign;
    }

    public String getAcpenc() {
        return acpenc;
    }

    public void setAcpenc(String acpenc) {
        this.acpenc = acpenc;
    }

    public String getAcpmiddle() {
        return acpmiddle;
    }

    public void setAcpmiddle(String acpmiddle) {
        this.acpmiddle = acpmiddle;
    }

    public String getAcproot() {
        return acproot;
    }

    public void setAcproot(String acproot) {
        this.acproot = acproot;
    }

    public String getLianlianmchid() {
        return lianlianmchid;
    }

    public void setLianlianmchid(String lianlianmchid) {
        this.lianlianmchid = lianlianmchid;
    }

    public String getLinaliankey() {
        return linaliankey;
    }

    public void setLinaliankey(String linaliankey) {
        this.linaliankey = linaliankey;
    }

    public Users() {
        super();
    }

    public Users(Integer role, Boolean datastatus) {
        super();
        this.role = role;
        this.datastatus = datastatus;
    }

    public Users(String parentid, Integer role, Boolean datastatus) {
        super();
        this.parentid = parentid;
        this.role = role;
        this.datastatus = datastatus;
    }

    public Users(String id, String prefix, String adid, String pid, String agentlogo) {
        super();
        this.id = id;
        this.prefix = prefix;
        this.adid = adid;
        this.pid = pid;
        this.agentlogo = agentlogo;
    }

    public Users(String username, String parentid, Integer role, Boolean datastatus) {
        super();
        this.username = username;
        this.parentid = parentid;
        this.role = role;
        this.datastatus = datastatus;
    }

    public Users(String id, String username, String password, String email, Date createtime, Date logintime,
                 String loginip, Integer role, Boolean datastatus, String mobile, BigDecimal blance, String freeroute,
                 String parentid, String agentlogo, String prefix, String theme, Boolean addcard, Boolean nextagent, Byte airrecharge,
                 String androidversion, String androidpath, String iosversion, String iospath, Integer regimoney,
                 Integer regishopmoney, Integer regitime, Date endtime, String pic, BigDecimal dkbl, Boolean isshop, Integer type,
                 String shopid, String adid, BigDecimal profitratio, String appkey, String appsecret, BigDecimal linebalance,
                 String pid, String dappkey, String sqappkey, Integer overdraft, String appstore, String appid,
                 String keypath, String agentprefix, String oneagent, Boolean sxxh, Boolean isauth, Boolean isalipay,
                 Boolean isprofit, Boolean isaliprofit, BigDecimal aliprofitratio, BigDecimal aliprofitmoney,
                 BigDecimal profitmoney, Integer shopblance, Integer igtype, Integer calltype, Byte isgrounding) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.email = email;
        this.createtime = createtime;
        this.logintime = logintime;
        this.loginip = loginip;
        this.role = role;
        this.datastatus = datastatus;
        this.mobile = mobile;
        this.blance = blance;
        this.freeroute = freeroute;
        this.parentid = parentid;
        this.agentlogo = agentlogo;
        this.prefix = prefix;
        this.theme = theme;
        this.addcard = addcard;
        this.nextagent = nextagent;
        this.airrecharge = airrecharge;
        this.androidversion = androidversion;
        this.androidpath = androidpath;
        this.iosversion = iosversion;
        this.iospath = iospath;
        this.regimoney = regimoney;
        this.regishopmoney = regishopmoney;
        this.regitime = regitime;
        this.endtime = endtime;
        this.pic = pic;
        this.dkbl = dkbl;
        this.isshop = isshop;
        this.type = type;
        this.shopid = shopid;
        this.adid = adid;
        this.profitratio = profitratio;
        this.appkey = appkey;
        this.appsecret = appsecret;
        this.linebalance = linebalance;
        this.pid = pid;
        this.dappkey = dappkey;
        this.sqappkey = sqappkey;
        this.overdraft = overdraft;
        this.appstore = appstore;
        this.appid = appid;
        this.keypath = keypath;
        this.agentprefix = agentprefix;
        this.oneagent = oneagent;
        this.sxxh = sxxh;
        this.isauth = isauth;
        this.isalipay = isalipay;
        this.isprofit = isprofit;
        this.isaliprofit = isaliprofit;
        this.aliprofitratio = aliprofitratio;
        this.aliprofitmoney = aliprofitmoney;
        this.profitmoney = profitmoney;
        this.shopblance = shopblance;
        this.igtype = igtype;
        this.calltype = calltype;
        this.isgrounding = isgrounding;
    }

    public Users(String id, String username, String password, String email, Date createtime, Date logintime,
                 String loginip, Integer role, Boolean datastatus, String mobile, BigDecimal blance, String freeroute,
                 String parentid, String agentlogo, String prefix, String theme, Boolean addcard, Boolean nextagent, Byte airrecharge,
                 String androidversion, String androidpath, String iosversion, String iospath, Integer regimoney,
                 Integer regishopmoney, Integer regitime, Date endtime, String pic, BigDecimal dkbl, Boolean isshop, Integer type,
                 String shopid, String adid, BigDecimal profitratio, String appkey, String appsecret, BigDecimal linebalance,
                 String pid, String dappkey, String sqappkey, Integer overdraft, String appstore, String appid,
                 String keypath, String agentprefix, String oneagent, Boolean sxxh, Boolean isauth, Boolean isalipay,
                 Boolean isprofit, Boolean isaliprofit, BigDecimal aliprofitratio, BigDecimal aliprofitmoney,
                 BigDecimal profitmoney, Integer shopblance, Integer igtype, Integer calltype, Byte isgrounding,
                 Byte isupdateshop, Byte ismember) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.email = email;
        this.createtime = createtime;
        this.logintime = logintime;
        this.loginip = loginip;
        this.role = role;
        this.datastatus = datastatus;
        this.mobile = mobile;
        this.blance = blance;
        this.freeroute = freeroute;
        this.parentid = parentid;
        this.agentlogo = agentlogo;
        this.prefix = prefix;
        this.theme = theme;
        this.addcard = addcard;
        this.nextagent = nextagent;
        this.airrecharge = airrecharge;
        this.androidversion = androidversion;
        this.androidpath = androidpath;
        this.iosversion = iosversion;
        this.iospath = iospath;
        this.regimoney = regimoney;
        this.regishopmoney = regishopmoney;
        this.regitime = regitime;
        this.endtime = endtime;
        this.pic = pic;
        this.dkbl = dkbl;
        this.isshop = isshop;
        this.type = type;
        this.shopid = shopid;
        this.adid = adid;
        this.profitratio = profitratio;
        this.appkey = appkey;
        this.appsecret = appsecret;
        this.linebalance = linebalance;
        this.pid = pid;
        this.dappkey = dappkey;
        this.sqappkey = sqappkey;
        this.overdraft = overdraft;
        this.appstore = appstore;
        this.appid = appid;
        this.keypath = keypath;
        this.agentprefix = agentprefix;
        this.oneagent = oneagent;
        this.sxxh = sxxh;
        this.isauth = isauth;
        this.isalipay = isalipay;
        this.isprofit = isprofit;
        this.isaliprofit = isaliprofit;
        this.aliprofitratio = aliprofitratio;
        this.aliprofitmoney = aliprofitmoney;
        this.profitmoney = profitmoney;
        this.shopblance = shopblance;
        this.igtype = igtype;
        this.calltype = calltype;
        this.isgrounding = isgrounding;
        this.isupdateshop = isupdateshop;
        this.ismember = ismember;
    }

    public Users(String id, String username, String password, String email, Date createtime, Date logintime,
                 String loginip, Integer role, Boolean datastatus, String mobile, BigDecimal blance, String freeroute,
                 String parentid, String agentlogo, String prefix, String theme, Boolean addcard, Boolean nextagent, Byte airrecharge,
                 String androidversion, String androidpath, String iosversion, String iospath, Integer regimoney,
                 Integer regishopmoney, Integer regitime, Date endtime, String pic, BigDecimal dkbl, Boolean isshop, Integer type,
                 String shopid, String adid, BigDecimal profitratio, String appkey, String appsecret, BigDecimal linebalance,
                 String pid, String dappkey, String sqappkey, Integer overdraft, String appstore, String appid,
                 String keypath, String agentprefix, String oneagent, Boolean sxxh, Boolean isauth, Boolean isalipay,
                 Boolean isprofit, Boolean isaliprofit, BigDecimal aliprofitratio, BigDecimal aliprofitmoney,
                 BigDecimal profitmoney, Integer shopblance, Integer igtype, Integer calltype, Integer smstype,
                 Byte isgrounding, Byte isupdateshop, Byte ismember, Byte isdialogbox, Integer browse) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.email = email;
        this.createtime = createtime;
        this.logintime = logintime;
        this.loginip = loginip;
        this.role = role;
        this.datastatus = datastatus;
        this.mobile = mobile;
        this.blance = blance;
        this.freeroute = freeroute;
        this.parentid = parentid;
        this.agentlogo = agentlogo;
        this.prefix = prefix;
        this.theme = theme;
        this.addcard = addcard;
        this.nextagent = nextagent;
        this.airrecharge = airrecharge;
        this.androidversion = androidversion;
        this.androidpath = androidpath;
        this.iosversion = iosversion;
        this.iospath = iospath;
        this.regimoney = regimoney;
        this.regishopmoney = regishopmoney;
        this.regitime = regitime;
        this.endtime = endtime;
        this.pic = pic;
        this.dkbl = dkbl;
        this.isshop = isshop;
        this.type = type;
        this.shopid = shopid;
        this.adid = adid;
        this.profitratio = profitratio;
        this.appkey = appkey;
        this.appsecret = appsecret;
        this.linebalance = linebalance;
        this.pid = pid;
        this.dappkey = dappkey;
        this.sqappkey = sqappkey;
        this.overdraft = overdraft;
        this.appstore = appstore;
        this.appid = appid;
        this.keypath = keypath;
        this.agentprefix = agentprefix;
        this.oneagent = oneagent;
        this.sxxh = sxxh;
        this.isauth = isauth;
        this.isalipay = isalipay;
        this.isprofit = isprofit;
        this.isaliprofit = isaliprofit;
        this.aliprofitratio = aliprofitratio;
        this.aliprofitmoney = aliprofitmoney;
        this.profitmoney = profitmoney;
        this.shopblance = shopblance;
        this.igtype = igtype;
        this.calltype = calltype;
        this.smstype = smstype;
        this.isgrounding = isgrounding;
        this.isupdateshop = isupdateshop;
        this.ismember = ismember;
        this.isdialogbox = isdialogbox;
        this.browse = browse;
    }

    public Users(String id, String username, String password, String email, Date createtime, Date logintime,
                 String loginip, Integer role, Boolean datastatus, String mobile, BigDecimal blance, String freeroute,
                 String parentid, String agentlogo, String prefix, String theme, Boolean addcard, Boolean nextagent, Byte airrecharge,
                 String androidversion, String androidpath, String iosversion, String iospath, Integer regimoney,
                 Integer regishopmoney, Integer regitime, Date endtime, String pic, BigDecimal dkbl, Boolean isshop, Integer type,
                 String shopid, String adid, BigDecimal profitratio, String appkey, String appsecret, BigDecimal linebalance,
                 String pid, String dappkey, String sqappkey, Integer overdraft, String appstore, String appid,
                 String keypath, String agentprefix, String oneagent, Boolean sxxh, Boolean isauth, Boolean isalipay,
                 Boolean isprofit, Boolean isaliprofit, BigDecimal aliprofitratio, BigDecimal aliprofitmoney,
                 BigDecimal profitmoney, Integer shopblance, Integer igtype, Integer calltype, Integer smstype,
                 Byte isgrounding, Byte isupdateshop, Byte ismember, Byte isdialogbox, Integer browse,
                 BigDecimal balance) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.email = email;
        this.createtime = createtime;
        this.logintime = logintime;
        this.loginip = loginip;
        this.role = role;
        this.datastatus = datastatus;
        this.mobile = mobile;
        this.blance = blance;
        this.freeroute = freeroute;
        this.parentid = parentid;
        this.agentlogo = agentlogo;
        this.prefix = prefix;
        this.theme = theme;
        this.addcard = addcard;
        this.nextagent = nextagent;
        this.airrecharge = airrecharge;
        this.androidversion = androidversion;
        this.androidpath = androidpath;
        this.iosversion = iosversion;
        this.iospath = iospath;
        this.regimoney = regimoney;
        this.regishopmoney = regishopmoney;
        this.regitime = regitime;
        this.endtime = endtime;
        this.pic = pic;
        this.dkbl = dkbl;
        this.isshop = isshop;
        this.type = type;
        this.shopid = shopid;
        this.adid = adid;
        this.profitratio = profitratio;
        this.appkey = appkey;
        this.appsecret = appsecret;
        this.linebalance = linebalance;
        this.pid = pid;
        this.dappkey = dappkey;
        this.sqappkey = sqappkey;
        this.overdraft = overdraft;
        this.appstore = appstore;
        this.appid = appid;
        this.keypath = keypath;
        this.agentprefix = agentprefix;
        this.oneagent = oneagent;
        this.sxxh = sxxh;
        this.isauth = isauth;
        this.isalipay = isalipay;
        this.isprofit = isprofit;
        this.isaliprofit = isaliprofit;
        this.aliprofitratio = aliprofitratio;
        this.aliprofitmoney = aliprofitmoney;
        this.profitmoney = profitmoney;
        this.shopblance = shopblance;
        this.igtype = igtype;
        this.calltype = calltype;
        this.smstype = smstype;
        this.isgrounding = isgrounding;
        this.isupdateshop = isupdateshop;
        this.ismember = ismember;
        this.isdialogbox = isdialogbox;
        this.browse = browse;
        this.balance = balance;
    }

    public Integer getIgtype() {
        return igtype;
    }

    public void setIgtype(Integer igtype) {
        this.igtype = igtype;
    }

    public Double getReratio1() {
        return reratio1;
    }

    public void setReratio1(Double reratio1) {
        this.reratio1 = reratio1;
    }

    public Double getReratio2() {
        return reratio2;
    }

    public void setReratio2(Double reratio2) {
        this.reratio2 = reratio2;
    }

    public Double getReratio3() {
        return reratio3;
    }

    public void setReratio3(Double reratio3) {
        this.reratio3 = reratio3;
    }

    public Double getTeamreratio() {
        return teamreratio;
    }

    public void setTeamreratio(Double teamreratio) {
        this.teamreratio = teamreratio;
    }

    public Integer getRegishopmoney() {
        return regishopmoney;
    }

    public void setRegishopmoney(Integer regishopmoney) {
        this.regishopmoney = regishopmoney;
    }

    public String getRule() {
        return rule;
    }

    public void setRule(String rule) {
        this.rule = rule;
    }

    public Integer getCallshareper() {
        return callshareper;
    }

    public void setCallshareper(Integer callshareper) {
        this.callshareper = callshareper;
    }

    public Integer getShopshareper() {
        return shopshareper;
    }

    public void setShopshareper(Integer shopshareper) {
        this.shopshareper = shopshareper;
    }

    public String getWeekadv() {
        return weekadv;
    }

    public void setWeekadv(String weekadv) {
        this.weekadv = weekadv;
    }

    public BigDecimal getFare() {
        return fare;
    }

    public void setFare(BigDecimal fare) {
        this.fare = fare;
    }

    public Integer getCallmeshare() {
        return callmeshare;
    }

    public void setCallmeshare(Integer callmeshare) {
        this.callmeshare = callmeshare;
    }

    public Integer getCallparshare() {
        return callparshare;
    }

    public void setCallparshare(Integer callparshare) {
        this.callparshare = callparshare;
    }

    public Integer getShopmeshare() {
        return shopmeshare;
    }

    public void setShopmeshare(Integer shopmeshare) {
        this.shopmeshare = shopmeshare;
    }

    public Integer getShopparshare() {
        return shopparshare;
    }

    public void setShopparshare(Integer shopparshare) {
        this.shopparshare = shopparshare;
    }

    public BigDecimal getWeekmucall() {
        return weekmucall;
    }

    public void setWeekmucall(BigDecimal weekmucall) {
        this.weekmucall = weekmucall;
    }

    public BigDecimal getWeekmushop() {
        return weekmushop;
    }

    public void setWeekmushop(BigDecimal weekmushop) {
        this.weekmushop = weekmushop;
    }

    public BigDecimal getWeekcall() {
        return weekcall;
    }

    public void setWeekcall(BigDecimal weekcall) {
        this.weekcall = weekcall;
    }

    public BigDecimal getWeekshop() {
        return weekshop;
    }

    public void setWeekshop(BigDecimal weekshop) {
        this.weekshop = weekshop;
    }

    public Integer getShopnum() {
        return shopnum;
    }

    public void setShopnum(Integer shopnum) {
        this.shopnum = shopnum;
    }

    public String getJpushappkey() {
        return jpushappkey;
    }

    public void setJpushappkey(String jpushappkey) {
        this.jpushappkey = jpushappkey;
    }

    public String getMastersecret() {
        return mastersecret;
    }

    public void setMastersecret(String mastersecret) {
        this.mastersecret = mastersecret;
    }

    public String getAlipubkey() {
        return alipubkey;
    }

    public void setAlipubkey(String alipubkey) {
        this.alipubkey = alipubkey;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getLogintime() {
        return logintime;
    }

    public void setLogintime(Date logintime) {
        this.logintime = logintime;
    }

    public String getLoginip() {
        return loginip;
    }

    public void setLoginip(String loginip) {
        this.loginip = loginip == null ? null : loginip.trim();
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Boolean getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(Boolean datastatus) {
        this.datastatus = datastatus;
    }

    public String getJhappid() {
        return jhappid;
    }

    public void setJhappid(String jhappid) {
        this.jhappid = jhappid;
    }

    public String getJhappkey() {
        return jhappkey;
    }

    public void setJhappkey(String jhappkey) {
        this.jhappkey = jhappkey;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public BigDecimal getBlance() {
        return blance;
    }

    public void setBlance(BigDecimal blance) {
        this.blance = blance;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public String getFreeroute() {
        return freeroute;
    }

    public void setFreeroute(String freeroute) {
        this.freeroute = freeroute == null ? null : freeroute.trim();
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getAgentlogo() {
        if (agentlogo != null) {
            if (agentlogo.contains("http")) {
                this.agentlogo = agentlogo.trim();
            } else {
                this.agentlogo = CommUrls.OLD_SERVER + agentlogo.trim();
            }
        }
        return agentlogo;
    }

    public void setAgentlogo(String agentlogo) {
        this.agentlogo = agentlogo == null ? null : agentlogo.trim();
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix == null ? null : prefix.trim();
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme == null ? null : theme.trim();
    }

    public Boolean getAddcard() {
        return addcard;
    }

    public void setAddcard(Boolean addcard) {
        this.addcard = addcard;
    }

    public Boolean getNextagent() {
        return nextagent;
    }

    public void setNextagent(Boolean nextagent) {
        this.nextagent = nextagent;
    }

    public Byte getAirrecharge() {
        return airrecharge;
    }

    public void setAirrecharge(Byte airrecharge) {
        this.airrecharge = airrecharge;
    }

    public String getAndroidversion() {
        return androidversion;
    }

    public void setAndroidversion(String androidversion) {
        this.androidversion = androidversion == null ? null : androidversion.trim();
    }

    public String getAndroidpath() {
        return androidpath;
    }

    public void setAndroidpath(String androidpath) {
        this.androidpath = androidpath == null ? null : androidpath.trim();
    }

    public String getIosversion() {
        return iosversion;
    }

    public void setIosversion(String iosversion) {
        this.iosversion = iosversion == null ? null : iosversion.trim();
    }

    public String getIospath() {
        return iospath;
    }

    public void setIospath(String iospath) {
        this.iospath = iospath == null ? null : iospath.trim();
    }

    public Integer getRegimoney() {
        return regimoney;
    }

    public void setRegimoney(Integer regimoney) {
        this.regimoney = regimoney;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public BigDecimal getDkbl() {
        return dkbl;
    }

    public void setDkbl(BigDecimal dkbl) {
        this.dkbl = dkbl;
    }

    public Boolean getIsshop() {
        return isshop;
    }

    public void setIsshop(Boolean isshop) {
        this.isshop = isshop;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getShopid() {
        return shopid;
    }

    public void setShopid(String shopid) {
        this.shopid = shopid == null ? null : shopid.trim();
    }

    public String getAdid() {
        return adid;
    }

    public void setAdid(String adid) {
        this.adid = adid == null ? null : adid.trim();
    }

    public BigDecimal getProfitratio() {
        return profitratio;
    }

    public void setProfitratio(BigDecimal profitratio) {
        this.profitratio = profitratio;
    }

    public String getAppkey() {
        return appkey;
    }

    public void setAppkey(String appkey) {
        this.appkey = appkey == null ? null : appkey.trim();
    }

    public String getAppsecret() {
        return appsecret;
    }

    public void setAppsecret(String appsecret) {
        this.appsecret = appsecret == null ? null : appsecret.trim();
    }

    public BigDecimal getLinebalance() {
        return linebalance;
    }

    public void setLinebalance(BigDecimal linebalance) {
        this.linebalance = linebalance;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid == null ? null : pid.trim();
    }

    public String getInvitecode() {
        return invitecode;
    }

    public void setInvitecode(String invitecode) {
        this.invitecode = invitecode;
    }

    public String getReactxappkey() {
        return reactxappkey;
    }

    public void setReactxappkey(String reactxappkey) {
        this.reactxappkey = reactxappkey;
    }

    public Integer getTbapitype() {
        return tbapitype;
    }

    public void setTbapitype(Integer tbapitype) {
        this.tbapitype = tbapitype;
    }

    public String getClientid() {
        return clientid;
    }

    public void setClientid(String clientid) {
        this.clientid = clientid;
    }

    public String getClientsecret() {
        return clientsecret;
    }

    public void setClientsecret(String clientsecret) {
        this.clientsecret = clientsecret;
    }

    public String getClientpid() {
        return clientpid;
    }

    public void setClientpid(String clientpid) {
        this.clientpid = clientpid;
    }

    public String getDappkey() {
        return dappkey;
    }

    public void setDappkey(String dappkey) {
        this.dappkey = dappkey == null ? null : dappkey.trim();
    }

    public String getSqappkey() {
        return sqappkey;
    }

    public void setSqappkey(String sqappkey) {
        this.sqappkey = sqappkey == null ? null : sqappkey.trim();
    }

    public Integer getOverdraft() {
        return overdraft;
    }

    public void setOverdraft(Integer overdraft) {
        this.overdraft = overdraft;
    }

    public String getAppstore() {
        return appstore;
    }

    public void setAppstore(String appstore) {
        this.appstore = appstore == null ? null : appstore.trim();
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid == null ? null : appid.trim();
    }

    public String getKeypath() {
        return keypath;
    }

    public void setKeypath(String keypath) {
        this.keypath = keypath == null ? null : keypath.trim();
    }

    public String getAgentprefix() {
        return agentprefix;
    }

    public void setAgentprefix(String agentprefix) {
        this.agentprefix = agentprefix == null ? null : agentprefix.trim();
    }

    public String getOneagent() {
        return oneagent;
    }

    public void setOneagent(String oneagent) {
        this.oneagent = oneagent == null ? null : oneagent.trim();
    }

    public Boolean getSxxh() {
        return sxxh;
    }

    public void setSxxh(Boolean sxxh) {
        this.sxxh = sxxh;
    }

    public Boolean getIsauth() {
        return isauth;
    }

    public void setIsauth(Boolean isauth) {
        this.isauth = isauth;
    }

    public Boolean getIsalipay() {
        return isalipay;
    }

    public void setIsalipay(Boolean isalipay) {
        this.isalipay = isalipay;
    }

    public Boolean getIsprofit() {
        return isprofit;
    }

    public void setIsprofit(Boolean isprofit) {
        this.isprofit = isprofit;
    }

    public Boolean getIsaliprofit() {
        return isaliprofit;
    }

    public void setIsaliprofit(Boolean isaliprofit) {
        this.isaliprofit = isaliprofit;
    }

    public BigDecimal getAliprofitratio() {
        return aliprofitratio;
    }

    public void setAliprofitratio(BigDecimal aliprofitratio) {
        this.aliprofitratio = aliprofitratio;
    }

    public BigDecimal getAliprofitmoney() {
        return aliprofitmoney;
    }

    public void setAliprofitmoney(BigDecimal aliprofitmoney) {
        this.aliprofitmoney = aliprofitmoney;
    }

    public BigDecimal getProfitmoney() {
        return profitmoney;
    }

    public void setProfitmoney(BigDecimal profitmoney) {
        this.profitmoney = profitmoney;
    }

    public Integer getShopblance() {
        return shopblance;
    }

    public void setShopblance(Integer shopblance) {
        this.shopblance = shopblance;
    }

    public Integer getCalltype() {
        return calltype;
    }

    public void setCalltype(Integer calltype) {
        this.calltype = calltype;
    }

    public Integer getSmstype() {
        return smstype;
    }

    public void setSmstype(Integer smstype) {
        this.smstype = smstype;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public Integer getRegitime() {
        return regitime;
    }

    public void setRegitime(Integer regitime) {
        this.regitime = regitime;
    }

    public Byte getIsgrounding() {
        return isgrounding;
    }

    public void setIsgrounding(Byte isgrounding) {
        this.isgrounding = isgrounding;
    }

    public Double getSelfshopratio() {
        return selfshopratio;
    }

    public void setSelfshopratio(Double selfshopratio) {
        this.selfshopratio = selfshopratio;
    }

    @Override
    public String toString() {
        return "Users [id=" + id + ", username=" + username + ", password=" + password + ", email=" + email
                + ", createtime=" + createtime + ", logintime=" + logintime + ", loginip=" + loginip + ", role=" + role
                + ", datastatus=" + datastatus + ", mobile=" + mobile + ", blance=" + blance + ", freeroute="
                + freeroute + ", parentid=" + parentid + ", agentlogo=" + agentlogo + ", prefix=" + prefix + ", theme="
                + theme + ", addcard=" + addcard + ", nextagent=" + nextagent + ", androidversion=" + androidversion
                + ", androidpath=" + androidpath + ", iosversion=" + iosversion + ", iospath=" + iospath
                + ", regimoney=" + regimoney + ", endtime=" + endtime + ", pic=" + pic + ", dkbl=" + dkbl + ", isshop="
                + isshop + ", type=" + type + ", shopid=" + shopid + ", adid=" + adid + ", profitratio=" + profitratio
                + ", appkey=" + appkey + ", appsecret=" + appsecret + ", linebalance=" + linebalance + ", pid=" + pid
                + ", dappkey=" + dappkey + ", sqappkey=" + sqappkey + ", overdraft=" + overdraft + ", appstore="
                + appstore + ", appid=" + appid + ", keypath=" + keypath + ", agentprefix=" + agentprefix
                + ", oneagent=" + oneagent + ", sxxh=" + sxxh + ", isauth=" + isauth + ", isalipay=" + isalipay
                + ", isprofit=" + isprofit + ", isaliprofit=" + isaliprofit + ", aliprofitratio=" + aliprofitratio
                + ", aliprofitmoney=" + aliprofitmoney + ", profitmoney=" + profitmoney + ", shopblance=" + shopblance
                + ", calltype=" + calltype + "]";
    }

}
